package com.koron.ticket.workchange.ticketchangedelay.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.bean.base.BaseBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@Getter
@Setter
public class TicketChangeDelay extends BaseBean {

    @ApiModelProperty("工作票ID")
    private String workTicketId;

    @ApiModelProperty("变更单ID")
    private String changeId;

    @ApiModelProperty("延长时间至")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date delayTime;

    @ApiModelProperty("工作负责人账户")
    private String directorAccount;

    @ApiModelProperty("工作负责人名称")
    private String directorName;

    @ApiModelProperty("值班负责人账户")
    private String dutyPersonAccount;

    @ApiModelProperty("值班负责人名称")
    private String dutyPersonName;

    @ApiModelProperty("备注")
    private String description;

    @ApiModelProperty("工作签发人")
    private String signName;

    @ApiModelProperty("工作许可人")
    private String permitName;

    String hello;

}
